<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<meta name="decorator" content="sysDefault"/>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">
				    	数据信息
						<a class="btn btn-default btn-sm pull-right" role="button" href="javascript:void(0)" onclick="history.go(-1)">返回</a>
				    </h3>
				  </div>
				  	<tags:message content="${message}" />
				  	<table class="table table-bordered">
					  <tbody>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>ID_:</strong></td>
					  		<td>
								${paymode.id}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>父节点ID:</strong></td>
					  		<td>
								${paymode.parentId}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>付款方式编码:</strong></td>
					  		<td>
								${paymode.paymodeNo}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>付款方式名称:</strong></td>
					  		<td>
								${paymode.paymodeName}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>支付类别(银行卡、现金、购物券、购物卡:</strong></td>
					  		<td>
								<c:forEach items="${codeDList}" var="codeD">
									<c:if test="${paymode.payType == codeD.codeNo}">
										${codeD.codeName}
									</c:if>
								</c:forEach>
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>币种(人民币、港币、美元:</strong></td>
					  		<td>
					  			<c:forEach items="${currencyList}" var="currency">
									<c:if test="${paymode.currencyId == currency.currencyNo}">
										${currency.currencyName}
									</c:if>
								</c:forEach>
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>允许找零:</strong></td>
					  		<td>
								${paymode.isChange}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>允许积分:</strong></td>
					  		<td>
								${paymode.isIntegral}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>允许兑券:</strong></td>
					  		<td>
								${paymode.isCoupons}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>统计类型(是否统计该级别的付款方式，比如银行卡下:</strong></td>
					  		<td>
								${paymode.statistics}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>是否禁用:</strong></td>
					  		<td>
								${paymode.enabled}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>备注:</strong></td>
					  		<td>
								${paymode.remark}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>CREATE_BY_:</strong></td>
					  		<td>
								${paymode.createBy}
							</td>
					  	</tr>
					  	<tr>
					  		<td class="text-right" style="width: 20%"><strong>CREATE_TIME_:</strong></td>
					  		<td>
								<fmt:formatDate value="${paymode.createTime}" pattern="yyyy-MM-dd HH:mm:ss" />
							</td>
					  	</tr>
					  </tbody>
					</table>
				  <div class="panel-footer"></div>
				</div>			
			</div>
		</div>
	</div>
</body>
</html>